import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate' //持久化插件

const pinia = createPinia()
pinia.use(persist) //使用持久化插件
// 默认导出pinia实例
export default pinia

// 统一导入导出
export * from './modules/category'
export * from './modules/user'
export * from './modules/cart'
